package com.gzhu.knowledgeAdmin.controller;


import com.gzhu.knowledgeAdmin.common.result.R;
import com.gzhu.knowledgeAdmin.service.TCzjlTService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("/czjl")
public class RechargeRecordController {

    @Resource
    private TCzjlTService tCzjlTService;


    @GetMapping("/find")
    public R getAll()
    {
        return R.ok(tCzjlTService.getAll());
    }

    @PostMapping("/del/{fId}")
    public R deleteById(@PathVariable Long fId)
    {
        return R.ok(tCzjlTService.removeById(fId));
    }



}
